package com.example.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 充值记录表
 * @TableName t_recharge_record
 */
@TableName(value = "t_recharge_record")
@Data
public class RechargeRecord implements Serializable {

	@Serial
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	@Schema(description = "充值ID，主键，自增长")
	@TableId(type = IdType.AUTO)
	private Long recordId;

	@Schema(description = "商家ID，外键关联商家表。")
	private Long merchantId;

	@Schema(description = "充值时间")
	private Date createTime;

	@Schema(description = "充值金额")
	private BigDecimal amount;

	@Schema(description = "删除标记")
	private Integer delFlag;

}